<!--
 * @FilePath     : /layui/demo/16-8.html
 * @Description  : 简单渲染一个上传组件
 * @Date         : 2025-02-25 15:52
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-02-25 15:56
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>documentName</title>
    <link rel="stylesheet" href="/layui/dist/css/layui.css" />
  </head>
  <body>
    <button id="ftest8">点击这里上传</button>

    <script src="/layui/dist/layui.js"></script>
    <script>
      layui.use(['upload'], function () {
        var upload = layui.upload

        upload.render({
          elem: '#ftest8',
        })
      })
    </script>
  </body>
</html>
